package imp

/**
  * 隐式参数和隐式变量，结合柯里化
  */
object ImplicitParameterWithCurry extends App {

  //只有最后一个参数为隐式参数
  implicit def bark(name: String)(way: String)(implicit word: String): Unit = println(s"$name $way: $word.")

  implicit val w: String = "Hoo"

  bark("Hot Dog")("speak")
}
